@echo off
rem ---------------------------------------------------------------------------
rem Start/Stop Script for the java application server
rem
rem Environment Variable Prerequisites
rem
rem   JAVA_HOME       Must point at your Java Development Kit installation.
rem                   Required to run the with the "debug" argument.
rem   JAVA_OPTS       (Optional) Java runtime options used when any command
rem                   is executed.
rem                   Include here and not in CATALINA_OPTS all options, that
rem                   should be used by Tomcat and also by the stop process,
rem                   the version command etc.
rem                   Most options should go into CATALINA_OPTS.
rem
rem   TITLE           (Optional) Specify the title of Tomcat window. The default
rem                   TITLE is Tomcat if it's not specified.
rem                   Example (all one line)
rem                   set TITLE=Tomcat.Cluster#1.Server#1 [%DATE% %TIME%]
rem ---------------------------------------------------------------------------
rem ----- Execute The Requested Command ---------------------------------------
set BASE_HOME=%~dp0%
echo Using BASE_HOME:   "%BASE_HOME%"
echo Using JAVA_HOME:   "%JAVA_HOME%"

:doSetArgs
set JAS_CP=../lib/jas-1.0.jar
echo Using JAVA_CLASS:   "%JAS_CP%"

:doStart
%JAVA_HOME%/bin/java %JAVA_OPTS% -classpath %JAS_CP% com.yutel.multher.JasMain


